import { reqSaveSpuList } from '@/api/sku'

const getDefaultState = () => {
  return {}
}

const state = getDefaultState()

const mutations = {
  // SETTRADEMARKLIST: (state, data) => {
  //   state.trademarkList = data
  // }
}
const actions = {
  async addReqSaveSpuList({ commit }, obj) {
    const result = await reqSaveSpuList(obj)
    if (result.code !== 200) return
    commit('SETTRADEMARKLIST', result.data)
  }
}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}
